import http from '@/utils/http.js';

export default {
  saveOrUpdateProblem(data) {
    return http.post('/manage/problem/saveOrUpdate', data)
  },
  deleteProblem(params) {
    return http.get('/manage/problem/delete', {params})
  },
  queryProblem(params){
    return http.get('/manage/problem/list', {params})
  },
  pageProblem(params){
    return http.get('/manage/problem/page', {params})
  },
  getProblemInfo(params){
    return http.get('/manage/problem/info', {params})
  }
}
